package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyService {

    void saveOrUpdate(Strategy strategy);


    PageInfo<Strategy> queryForList(QueryObject qo);

    /*
    查询所有非禁用的大攻略
     */
    List<Strategy> listEnable();

    List<Strategy> getCommendByType(Integer state);
}
